﻿<?xml version="1.0" encoding="utf-8" ?>
<!--

TELEPORT CONFIGURATION FILE

This file contains one or more configurations to setup Teleport system at server-side

-->
<Configurations>

  <!--Configuration for Remoting connector, using Tcp channel-->
  <Teleport>
    <!--Required parameters-->
    <!--Configuration Section Name-->
    <Name>Remoting - TCP</Name>
    <!--Name of the class type that will be use as the connector-->
    <Connector>Thn.Communication.Teleporting.Connectors.Remoting.ServerConnector</Connector>
    <!--Type of channel. Possible values: Tcp, Http, Icp-->
    <ChannelType>Tcp</ChannelType>
    <!--The port number that the server is listening on-->
    <Port>8081</Port>

    <!--Optional parameters specific to this connector-->
    <!--[Optional] Name of the .dll file which contains the class-->
    <ContainerFile>Thn.Communication.Teleporting.Connectors.Remoting.dll</ContainerFile>
    <!--[Optional] Type of message envelope. Possible values: Binary, Soap-->
    <Formatter>Binary</Formatter>
    <!--[Optional] Whether request shall be written to logs. This should be enabled only for debugging purpose-->
    <Trace>True</Trace>
  </Teleport>

  <!--Configuration for Remoting connector, using Http channel-->
  <Teleport>
    <!--Required parameters-->
    <!--Configuration Section Name-->
    <Name>Remoting - HTTP</Name>
    <!--Name of the class type that will be use as the connector-->
    <Connector>Thn.Communication.Teleporting.Connectors.Remoting.ServerConnector</Connector>
    <!--Type of channel. Possible values: Tcp, Http, Icp-->
    <ChannelType>Tcp</ChannelType>
    <!--The port number that the server is listening on-->
    <Port>8081</Port>

    <!--Optional parameters specific to this connector-->
    <!--[Optional] Name of the .dll file which contains the class-->
    <ContainerFile>Thn.Communication.Teleporting.Connectors.Remoting.dll</ContainerFile>
    <!--[Optional] Type of message envelope. Possible values: Binary, Soap-->
    <Formatter>Binary</Formatter>
    <!--[Optional] Whether request shall be written to logs. This should be enabled only for debugging purpose-->
    <Trace>True</Trace>
  </Teleport>

  <!--Configuration for Remoting connector, using Ipc channel-->
  <Teleport>
    <!--Required parameters-->
    <!--Configuration Section Name-->
    <Name>Remoting - IPC</Name>
    <!--Name of the class type that will be use as the connector-->
    <Connector>Thn.Communication.Teleporting.Connectors.Remoting.ServerConnector</Connector>
    <!--Type of channel. Possible values: Tcp, Http, Icp-->
    <ChannelType>Ipc</ChannelType>    

    <!--Optional parameters specific to this connector-->
    <!--Name of the ICP channel-->
    <ChannelName>TeleportService</ChannelName>
    <!--[Optional] Name of the .dll file which contains the class-->
    <ContainerFile>Thn.Communication.Teleporting.Connectors.Remoting.dll</ContainerFile>
    <!--[Optional] Type of message envelope. Possible values: Binary, Soap-->
    <Formatter>Binary</Formatter>
    <!--[Optional] Whether request shall be written to logs. This should be enabled only for debugging purpose-->
    <Trace>True</Trace>
  </Teleport>
  
</Configurations>